#ifndef GLOBALDEFS_H
#define GLOBALDEFS_H

QUINCE_CORE_EXPORT void VariantToBinary(const QVariant &var, string &result);
QUINCE_CORE_EXPORT void BinaryToVariant(const string &data, QVariant &result);
QUINCE_CORE_EXPORT void QStringToStdWString(const QString &s, std::wstring &result);
QUINCE_CORE_EXPORT void StdWStringToQString(const std::wstring &s, QString &result);

Q_DECLARE_METATYPE(std::string);
Q_DECLARE_METATYPE(std::wstring);

#endif // GLOBALDEFS_H
